package com.example.javabase.DesignPattern.Strategy;

import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author: wyb
 * @date: 2021/11/3 16:04
 * @describe:
 *    year.add(-1).month(12).kpi(KK_0000000000026) 某指标在某一年某月的值；
 *    year.add(0).month(max).kpi(K_00000000001683) 某指标在某年中最大月份的值；
 * @vision 1.0
 */
@Component
public class YearMonthApiCalculateHandler extends AbstractInstrCalculateHandler{

    @Override
    protected Object handler(String formula, Map<String, Object> instrsValue) {
        System.out.println("11111");
        return null;
    }
}
